package com.pubinfo.passbook.common.model.eop;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.beans.BeanInfo;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ApplyParam {

    @ApiModelProperty("是否校验")
    @NotNull(message = "是否校验不能为空")
    private Boolean checkPre;

    @ApiModelProperty("合同ID")
    @NotNull(message = "合同ID不能为空")
    private Integer contractId;

    @ApiModelProperty("申请单ID")
    @NotEmpty(message = "申请单ID不能为空")
    private String invoiceApplyId;

    @ApiModelProperty("开票金额")
    private BigDecimal amount;

}
